package my.mall.admin.api

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cache.annotation.EnableCaching

@EnableCaching
@MapperScan(basePackages = ["my.mall.db.mapper"])
@SpringBootApplication(scanBasePackages = ["my.mall"])
open class AdminApplication

fun main(args: Array<String>) {
    SpringApplication.run(AdminApplication::class.java, *args)
}